package com.yl.module.property.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yl.module.property.domain.PropertyUpkeep;
import com.yl.module.property.domain.dto.PropertyUpkeepAddOrUpdDTO;
import com.yl.module.property.domain.vo.PropertyMaintainVO;
import com.yl.module.property.domain.vo.PropertyUpkeepVO;
import com.yl.module.property.domain.dto.PropertyUpkeepDTO;
import java.util.List;

/**
 * 资产维修记录表 Service接口
 * @author makejava
 * @date 2024-10-23 15:54:16
 */
public interface PropertyUpkeepService extends IService<PropertyUpkeep> {

	/**查询所有*/
	List<PropertyUpkeepVO> getAll();

	 /**分页查询*/
    Page<PropertyUpkeep> getPage(PropertyUpkeepDTO dto);

	List<PropertyUpkeepVO> getByPropertyId(Integer propertyId);

	/**添加*/
	Long add(PropertyUpkeepAddOrUpdDTO dto);

	/**通过主键修改*/
	void upd(PropertyUpkeepAddOrUpdDTO dto);

	void del(Long dto);
}
